package com.ruoyi.order.mapper;

import java.util.List;
import com.ruoyi.order.domain.MallOrderSetting;

/**
 * 订单设置Mapper接口
 * 
 * @author ruoyi
 * @date 2024-11-28
 */
public interface MallOrderSettingMapper 
{
    /**
     * 查询订单设置
     * 
     * @param id 订单设置主键
     * @return 订单设置
     */
    public MallOrderSetting selectMallOrderSettingById(Long id);

    /**
     * 查询订单设置列表
     * 
     * @param mallOrderSetting 订单设置
     * @return 订单设置集合
     */
    public List<MallOrderSetting> selectMallOrderSettingList(MallOrderSetting mallOrderSetting);

    /**
     * 新增订单设置
     * 
     * @param mallOrderSetting 订单设置
     * @return 结果
     */
    public int insertMallOrderSetting(MallOrderSetting mallOrderSetting);

    /**
     * 修改订单设置
     * 
     * @param mallOrderSetting 订单设置
     * @return 结果
     */
    public int updateMallOrderSetting(MallOrderSetting mallOrderSetting);

    /**
     * 删除订单设置
     * 
     * @param id 订单设置主键
     * @return 结果
     */
    public int deleteMallOrderSettingById(Long id);

    /**
     * 批量删除订单设置
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMallOrderSettingByIds(Long[] ids);
}
